<template>
  <div class="title flex">
    <div>{{ title }}</div>
  </div>
</template>

<script setup lang="ts">
defineProps({
  title: {
    type: String,
    default: "标题",
  },
});
</script>

<style lang="scss" scoped>
.title {
  height: 11rem;
  width: 100%;
  background: url("../assets/img/key-material-title-bg.png") no-repeat;
  background-size: 100% 100%;
  padding: 0 0 0 6%;
  font-family: "优设标题黑";
  font-size: 6rem;
  color: #fff;
}
</style>
